Optimal. Leaf size=39 \[ -\frac {\left (a+b x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}{4 a x^4} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 39, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.115, Rules used = {1111, 646, 37} \begin {gather*} -\frac {\left (a+b x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}{4 a x^4} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 37
Rule 646
Rule 1111
Rubi steps
\begin {align*} \int \frac {\sqrt {a^2+2 a b x^2+b^2 x^4}}{x^5} \, dx &=\frac {1}{2} \operatorname {Subst}\left (\int \frac {\sqrt {a^2+2 a b x+b^2 x^2}}{x^3} \, dx,x,x^2\right )\\ &=\frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \operatorname {Subst}\left (\int \frac {a b+b^2 x}{x^3} \, dx,x,x^2\right )}{2 \left (a b+b^2 x^2\right )}\\ &=-\frac {\left (a+b x^2\right ) \sqrt {a^2+2 a b x^2+b^2 x^4}}{4 a x^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.01, size = 37, normalized size = 0.95 \begin {gather*} -\frac {\sqrt {\left (a+b x^2\right )^2} \left (a+2 b x^2\right )}{4 x^4 \left (a+b x^2\right )} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [B] time = 0.38, size = 118, normalized size = 3.03 \begin {gather*} \frac {\sqrt {a^2+2 a b x^2+b^2 x^4} \left (-a b-2 b^2 x^2\right )+\sqrt {b^2} \left (a^2+3 a b x^2+2 b^2 x^4\right )}{4 x^4 \left (a b+b^2 x^2\right )-4 \sqrt {b^2} x^4 \sqrt {a^2+2 a b x^2+b^2 x^4}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.91, size = 13, normalized size = 0.33 \begin {gather*} -\frac {2 \, b x^{2} + a}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.16, size = 30, normalized size = 0.77 \begin {gather*} -\frac {2 \, b x^{2} \mathrm {sgn}\left (b x^{2} + a\right ) + a \mathrm {sgn}\left (b x^{2} + a\right )}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.00, size = 34, normalized size = 0.87 \begin {gather*} -\frac {\left (2 b \,x^{2}+a \right ) \sqrt {\left (b \,x^{2}+a \right )^{2}}}{4 \left (b \,x^{2}+a \right ) x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.33, size = 13, normalized size = 0.33 \begin {gather*} -\frac {2 \, b x^{2} + a}{4 \, x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 4.21, size = 33, normalized size = 0.85 \begin {gather*} -\frac {\left (2\,b\,x^2+a\right )\,\sqrt {{\left (b\,x^2+a\right )}^2}}{4\,x^4\,\left (b\,x^2+a\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 0.17, size = 14, normalized size = 0.36 \begin {gather*} \frac {- a - 2 b x^{2}}{4 x^{4}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________